//
//  WPUserAccount.h
//  wobingwoyi
//
//  Created by WGP on 16/8/9.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WPUser.h"
#import "WPToken.h"

@interface WPUserAccount : NSObject<NSCoding>

@property(nonatomic,strong)WPUser *user;
@property(nonatomic,strong)WPToken *token;

-(void)saveUserAccount;
-(instancetype)loadUserAccount;
+(instancetype)userAccountWithDict:(NSDictionary *)dict;

@end
